<template>
  <el-select v-model="selectValue" @change="handleChange"> </el-select>
</template>

<script setup lang="ts">
import { ref } from "vue";

const emits = defineEmits(["update:modelValue"]);
defineProps({
  modelValue: {
    type: String,
    default: ""
  }
});

const selectValue = ref("");

const handleChange = (value: string) => {
  emits("update:modelValue", value);
};
</script>

<style scoped></style>
